package com.lqk.java1;

import java.io.Serializable;

/**
 * @author liqiankun
 * @date 2022/11/10 14:30
 * @description
 **/
public class Creature<T> implements Serializable {
    private static final long serialVersionUID = -6562942996819830791L;

    private char gender;

    public double weight;

    private void breath(){
        System.out.println("生物呼吸");
    }

    public void eat(){
        System.out.println("生物吃东西");
    }

    public Creature() {
    }
}
